home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: br11.bearriver.com!user
- From: mdembroge@bearriver.com (Michael Dembroge)
- Subject: Missed
- Sender: usenet@BearRiver.com (Usenet News)
- Message-ID: <mdembroge-0702961420480001@br11.bearriver.com>
- Date: Wed, 7 Feb 1996 22:21:20 GMT
- Nntp-Posting-Host: br11.bearriver.com
- Organization: Bear River Associates
-
- Question 1:
- Can somebody please either e-mail me, or re-post "Aborting
- Constructors, Part
- I"? I am interested in this topic, and missed the first part.
-
- Question 2:
- Does anybody know if VC++ 2.2 can handle exceptions in constructors?
-
- I program on the Mac at work using MacApp 3.3, and we can not have
- constructors that fail. Our method is to use the constructor's only put
- the object into a "safe" state, and then call an "I-method" to initialize
- the object. I have been reading some C++ programming style books that
- have constructors that allocate memory, thus can fail. So, I have been
- wondering if it is okay to have constructors that fail when I am at home
- working on VC++.
-
- Mike Dembroge
- mdembroge@bearriver.com
-